<?php
class Solicitudes_Form_MetodologiaAutoevaluacion extends Form_Base {
	
		
	public function __construct($options = null) {
		parent::__construct($options);
	}
	
	public function init() {
		$domConfig = Zend_Registry::get('domConfig');
		$this->setName('metodologia');
		$this->setMethod("post");
		
		$element = new Zend_Form_Element_Textarea('metodologiaautoevaluacion');
		$element->setLabel('Metodología :');
		$element->setRequired(true);
		$element->addFilter('StripTags');
		$element->addFilter('StringTrim');
//		$element->addFilter('StringToUpper');
		$element->setAttrib("rows",10);
		$element->addValidator('StringLength', false, array($domConfig->TEXTO_TAMANOMIN));
		$array_elements[] = $element;
		
		$element = new Zend_Form_Element_Submit ( 'btnSubmit' );
		$element->setValue('Guardar');
		$element->setLabel("Guardar");
		$element->setAttrib("class", "iceCmdBtn");
		$array_elements[] = $element;
		
		$this->addElements($array_elements);
		
		$this->loadTableDecorators();
//		$this->getElement("metodologiaautoevaluacion")->setDecorators($this->_buttonDecorators);
	}
	
}